import axios from '../utils/axios';
const baseURL = '/api/diary/';

//获取日记列表
export const getDiaryApi = (data: any) => {
  return axios.post(`${baseURL}getDiary`, data);
}